<script type="text/template" id="dataManage-template">
    <div id="dataManageBody" class="systemManage-body dataManage-body">
        <div class="data-manage-box">
            <div class="dataM-title borderB">数据管理</div>
            <div class="dataM-con ">
                <div class="dataM-rows borderB departmentData" >
                    <div class="">部门信息数据：</div>
                    <div class="copy-data" type="0">备份</div>
                    <div class="recover-data" type="0">恢复</div>
                </div>
                <div class="dataM-rows borderB personData">
                    <div class="">人员信息数据：</div>
                    <div class="copy-data" type="1">备份</div>
                    <div class="recover-data" type="1">恢复</div>
                </div>
                <div class="dataM-rows borderB attnData">
                    <div class="">考勤记录数据：</div>
                    <div class="copy-data" type="2">备份</div>
                    <div class="recover-data" type="2">恢复</div>
                </div>
                <div class="dataM-rows borderB visitorData">
                    <div class="">访客信息数据：</div>
                    <div class="copy-data" type="3">备份</div>
                    <div class="recover-data" type="3">恢复</div>
                </div>
                <div class="dataM-rows borderB"  style="background:#f1f5f8">
                    <div class="">历史记录图片数据保存时间：</div>
                    <div class="">
                        <select id="mouth-num" class="mouth-num">
                        <@
                            var data = [
                                {value:"0",name:"永久"},
                                {value:"1",name:"1个月"},
                                {value:"3",name:"3个月"},
                                {value:"6",name:"6个月"},
                                {value:"12",name:"12个月"},
                                {value:"24",name:"24个月"}
                            ]
                        @>
                            <@for(var i = 0;i<data.length;i++){@>
                                <option value="<@=data[i].value@>" <@if(data[i].value == saveTime){@>selected="selected"<@}@>><@=data[i].name@></option>
                            <@}@>
                        </select>
                    </div>
                </div>
            </div>
        </div>
    </div>
</script>
<script type="text/template" id="copyData-template">
    <div class="load-text"></div>
</script>
<script type="text/template" id="recoverData-template">
    <div class="recoverData-box clearfix">
        <div class="inputFileBox clearfix">
            <label>
                <form id="fileForm" style="display: none;" enctype="multipart/form-data" >
                    <input type="file" id="inputFile" name="uploadFile" multiple/>
                 </form>
                <span class="custorm-style">
                    <span class="left-button">打开</span>
                    <span class="right-text" id="rightText"></span>
                </span>
            </label>
        </div>
        <div class="load-text">请选择要恢复的文件！</div>
    </div>
</script>